-
Home
-
NitroPack – Caching & Speed Optimization for Core Web Vitals, Defer CSS & JS, Lazy load Images and CDN
-
1.5.4
-
Code
-
Classes
- NitroPack
Total Complexity |
200 |
Dependencies |
19 |
Dependents |
7 |
Total lines |
799 |
Lines of code |
613 |
Logical lines of code |
385 |
Comment lines |
47 |
Methods |
57 |
Properties |
19 |
Methods 57
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
purgeCache() |
B |
37 |
19 |
76 |
isAllowedRequest() |
B |
47 |
17 |
32 |
__construct() |
A |
41 |
15 |
51 |
hasRemoteCache() |
A |
48 |
11 |
33 |
isAllowedUrl() |
A |
52 |
10 |
24 |
loadConfig() |
A |
55 |
9 |
19 |
hasLocalCache() |
A |
58 |
9 |
14 |
isSecure() |
S |
66 |
8 |
6 |
getCookies() |
S |
57 |
5 |
17 |
purgeLocalCache() |
S |
57 |
5 |
16 |
isAllowedAJAXUrl() |
S |
59 |
5 |
14 |
fetchConfig() |
S |
54 |
4 |
21 |
purgeProxyCache() |
S |
60 |
4 |
14 |
supportedCookiesFilter() |
S |
62 |
4 |
11 |
invalidateLocalCache() |
S |
57 |
3 |
16 |
isAllowedAJAX() |
S |
72 |
4 |
5 |
isAllowedBrowser() |
S |
67 |
4 |
7 |
isPageCacheLocked() |
S |
60 |
3 |
14 |
unlockPageCache() |
S |
61 |
3 |
13 |
setConfig() |
S |
61 |
3 |
12 |
getRemoteAddr() |
S |
65 |
3 |
9 |
loadHealthStatus() |
S |
67 |
3 |
8 |
addCookieFilter() |
S |
64 |
3 |
9 |
purgeLocalUrlCache() |
S |
59 |
2 |
14 |
invalidateLocalUrlCache() |
S |
60 |
2 |
13 |
invalidateDir() |
S |
63 |
2 |
11 |
isCacheAllowed() |
S |
79 |
2 |
3 |
tagUrl() |
S |
69 |
2 |
7 |
hasCache() |
S |
70 |
2 |
7 |
isRequestMethod() |
S |
78 |
2 |
3 |
isAJAXRequest() |
S |
77 |
2 |
3 |
getScheme() |
S |
79 |
2 |
3 |
checkHealthStatus() |
S |
66 |
2 |
9 |
lockPageCache() |
S |
65 |
2 |
9 |
getCacheDir() |
S |
67 |
2 |
8 |
embedJsUrl() |
S |
75 |
1 |
4 |
integrationUrl() |
S |
74 |
1 |
4 |
disableSafeMode() |
S |
78 |
1 |
4 |
getCustomCachePrefix() |
S |
79 |
1 |
3 |
getConfigFile() |
S |
66 |
1 |
8 |
addCustomCachePrefix() |
S |
79 |
1 |
3 |
getPageCacheLockFilename() |
S |
73 |
1 |
5 |
enableSafeMode() |
S |
78 |
1 |
4 |
setCachePathSuffix() |
S |
76 |
1 |
4 |
wildcardToRegex() |
S |
76 |
1 |
3 |
enableCompression() |
S |
82 |
1 |
3 |
disableCompression() |
S |
82 |
1 |
3 |
getUrl() |
S |
82 |
1 |
3 |
getApi() |
S |
82 |
1 |
3 |
getSiteId() |
S |
82 |
1 |
3 |
getConfig() |
S |
82 |
1 |
3 |
getHealthStatus() |
S |
82 |
1 |
3 |
getHealthStatusFile() |
S |
73 |
1 |
5 |
clearPageCache() |
S |
78 |
1 |
3 |
invalidateCache() |
S |
78 |
1 |
3 |
setHealthStatus() |
S |
76 |
1 |
4 |
normalizeUrl() |
S |
75 |
1 |
4 |